package Semester_4.AOP.CGLibDynamicProxy;

public class test {
    public static void main(String[] args) {
        UserDAO ud = new UserDAO();
        DynamicProxy dp = new DynamicProxy();
        UserDAO ud2 = (UserDAO) dp.createProxy(ud);
        ud2.addUser();
        ud2.deleteUser();
    }
}
